    <div class="tz369 education-column-b">
	<?php if(isset($_GET['ctgry_id'])) { ?>
	
        <?php foreach(NewsCategory::find('parent_id = ?', $_GET['ctgry_id'])->all()->query() as $c) { ?>
        <h2><?=$c->category;?></h2>
        <ul>
            <?php foreach($c->news as $n) { ?>
            <li>
                <a title="<?=mb_substr(strip_tags($n->body), 0, Q::ini('appini/alink_title'), 'utf-8');?>" href="<?=url('education/index', array('news_id'=>$n->news_id, 'ctgry_id'=>$_GET['ctgry_id'] ,'title'=>mb_substr($n->title, 0, Q::ini('appini/ahref_title'), 'utf-8')));?>"><?=$n->title;?>
                <?php if(!$n->attachments->isEmpty()) { ?>
                <img src="misc/with-attachment.gif" alt="attachmentMark" />
                <?php } ?>
                <?php if($n->isprivate == 1) { ?>
                <img src="misc/shield_add.png" alt="isprivateMark" />
                <?php } ?>
                </a>
                </li>
            <?php } ?>
        </ul>
        <?php } ?>
	<?php } else { ?>
		&nbsp;
	<?php } ?>
    </div><!-- /.education-column-b -->